package cn.base.web.lock;

import java.util.concurrent.Callable;

public interface LockService {
    public <T> T lock(String key, Callable<T> valueLoader) throws Exception;

}
